<!DOCTYPE html>
<html>
<head>
    <title>实时人脸检测演示</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            margin-top: 50px;
            background-color: #f0f0f0;
        }
        h1 {
            color: #333;
        }
        .video-container {
            margin: 20px auto;
            /*Lab2 Part1 1 Begin*/
            width: 1280px;
            height: 960px;
            border: 2px solid #333333;
            /*Lab2 Part1 End*/
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .footer {
            margin-top: 30px;
            color: #666;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <!-- Lab2 Part1 2 Begin -->
    <h1>基于YOLOv8的实时人脸检测演示:Goofy</h1>
    <!-- Lab2 Part1 2 End -->
    <div class="video-container">
        <img src="{{ url_for('video_feed') }}" alt="实时视频流">
    </div>
    <div class="footer">
        <p>使用Flask和Ultralytics YOLOv8实现:Goofy</p>
    </div>
</body>
</html>